{extend name="web/public/base" /}
{block name="header"}
{/block}
{block name="main"}
<section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><a><i class="fa fa-home"></i> 首页</a></li>
        <li class="active">财务中心</li>
        <li class="active">{$title}</li>
    </ul>
    <div class="row">
        <div class="col-sm-12">
            <section class="panel panel-default">
                <header class="panel-heading"> {$title}</header>
                {include file="web/public/search" /}
                {notempty name="_list"}
                <div class="table-responsive">
                    <table class="table table-striped table-hover b-t b-light text-sm">
                        <thead>
                        <tr style="cursor:pointer;">
                            <!--<th width="80px" onclick="sort('user_num',this)" class="th-sortable active"-->
                                <!--data-toggle="class">ID号 <span class="th-sort"> <i-->
                                    <!--class="fa fa-sort-down text"></i> <i class="fa fa-sort-up text-active"></i> <i-->
                                    <!--class="fa fa-sort"></i> </span>-->
                            <!--</th>-->
                            <th>汇总时间</th>
                            <th>{$Think.const.USERNUMBER}</th>
                            <th>{$Think.const.REALNAME}</th>
                            <th>{$Think.const.BONUS1}</th>
                            <th>{$Think.const.BONUS2}</th>
                            <th>{$Think.const.BONUS3}</th>
                            <th>{$Think.const.BONUS4}</th>
                            <th>{$Think.const.BONUS5}</th>
                            <th>{$Think.const.BONUS6}</th>
                            <th>{$Think.const.BONUS7}</th>
                            <th>{$Think.const.BONUS8}</th>
                            <th>累计奖金</th>
                            <th>实发奖金</th>
                            <!--<th>商城积分</th>-->
                            <th>{$Think.const.OP}</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name='_list' id='vo'}
                        <tr>
                            <td>{$vo.count_date|date="Y-m-d H:i:s",###}</td>
                            <td>{$vo.userid|getInfo="usernumber",###}</td>
                            <td>{$vo.userid|getInfo="realname",###}</td>
                            <td>{$vo.bonus1|format_num}</td>
                            <td>{$vo.bonus2|format_num}</td>
                            <td>{$vo.bonus3|format_num}</td>
                            <td>{$vo.bonus4|format_num}</td>
                            <td>{$vo.bonus5|format_num}</td>
                            <td>{$vo.bonus6|format_num}</td>
                            <td>{$vo.bonus7|format_num}</td>
                            <td>{$vo.bonus8|format_num}</td>
                            <td>{$vo.allmoney|format_num}</td>
                            <td>{$vo['total']|format_num}</td>
                            <!--<td>{$vo.shop_money|format_num}</td>-->
                            <td><a class="btn btn-link" href="{:url('Bonus/showMore',array('targetuserid'=>$vo['userid']))}" >查看明细</a></td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
                <footer class="panel-footer">
                    <div class="row">
                        <div class="text-right text-center-xs">
                            {$page}
                        </div>
                    </div>
                </footer>
                {else/}
                <div style="text-align: center">
                    <image src="__PUBLIC__/images/empty.jpg"></image>
                </div>

                {/notempty}
            </section>
        </div>
    </div>
</section>
{/block}
{block name="script"}
<script type="text/javascript">
</script>
{/block}
{block name="footer"}
{/block}